﻿<UserControl x:Class="TextAdventures.Quest.EditorControls.CompassDirectionControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Border Margin="10" BorderThickness="1" CornerRadius="0" SnapsToDevicePixels="True" x:Name="border">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <TextBlock Margin="5" HorizontalAlignment="Center" FontSize="18" Name="direction">Dir</TextBlock>
                <TextBlock Visibility="Collapsed" Grid.Row="1" Margin="5" HorizontalAlignment="Center" Name="noLinkDestination">(none)</TextBlock>
                <TextBlock Grid.Row="1" Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" Name="destination" TextWrapping="Wrap" TextTrimming="WordEllipsis"><Hyperlink Name="destinationLink" Click="Hyperlink_Click">destination</Hyperlink></TextBlock>
            </Grid>
        </Border>
    </Grid>
</UserControl>
